package com.agent.service;

import java.util.List;
import java.util.Map;

import com.agent.page.EasyuiPage;
import com.agent.vo.ConditionCount;
import com.github.pagehelper.PageInfo;

import com.agent.entity.Knowledge;
public interface IKnowledgeService {
	
	EasyuiPage<Knowledge> searchKnowledge(Integer page, Integer rows, Knowledge knowledge);
	
	List<Knowledge> getKnowledgeList(String id);
	
	Knowledge getKnowledge(String id);
	
	List<Knowledge> searchAll();
	
	void insert(Knowledge knowledge);
	
	void update(Knowledge knowledge);
	
	void delete(String id);

	List<Knowledge> search(Knowledge knowledge);
	List<Knowledge> searchKnowledgeByWeixin(Knowledge knowledge);
	List<ConditionCount> getCondition();
}
